package com.luffy.page.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 *
 * 分页参数
 * @author zengjw
 */
@Data
@ConfigurationProperties(prefix = "page")
//@ConditionalOnProperty(prefix = "page",name = "open",havingValue = "true")
public class PageProperty {
    /**
     * 当前页
     */
    private Long current;
    /**
     * 每页大小
     */
    private Long size;
    /**
     * 开关
     */
    private boolean open;
}
